#ifndef FPLAYER_CONVERT_DEVICE_H
#define FPLAYER_CONVERT_DEVICE_H

#include "IConvert.h"
#include "Device.h"
#include <list>

/**
 * author: x-fan
 * date: 2024/1/18
 * desc: ${DESP}
 */
class Convert_Device : public IConvert<IDevice> {
public:
  Convert_Device() = default;

  virtual ~Convert_Device() = default;

  ST_Device *java2Object(jobject obj) override;

  jobject object2Java(ST_Device *obj) override;

  jobject objectList2JavaList(std::list<IDevice *> &deviceList);
};


#endif //FPLAYER_CONVERT_DEVICE_H
